<?php

class MemListHelper{
	private $db;
	
	function MemListHelper($db){
		$this->db = $db;
	}
	function convertRowsResult($query){
		$rs = $this->db->select($query);
		
		$rs->encode();
		
		return $rs->return;
	}
	function execut_query($query){
		return $this->db->select($query);

	}
}